﻿
using iMES.Entity.SystemModels;
using Microsoft.AspNetCore.Routing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace iMES.Entity.DomainModels
{
    [Entity(TableCnName = "工艺工序管理/工艺列表", TableName = "Processmanagement", DBServer = "SysDbContext")]
    public partial class Processmanagement:SysEntity
    {

        /// <summary>
        /// /工艺主键
        /// </summary>
        [Key]
        [Display(Name = "工艺主键")]
        [Column(TypeName = "int")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public int ProcessmanagementId { get; set; }
        /// <summary>
        /// 工艺编号
        /// </summary>

        [Display(Name = "工艺编号")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string Processnumber {  get; set; }
        /// <summary>
        /// 工艺名称
        /// </summary>
        [Display(Name = "工艺名称")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string Processroutename { get; set; }
        /// <summary>
        /// 状态 
        /// </summary> 

        [Display(Name = "状态")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string State { get; set; }

        /// <summary>
        /// 成品名称
        /// </summary> 
        [Display(Name ="成品名称")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string ProductName{  get; set; }

        /// <summary>
        /// 创建时间
        /// </summary> 
        [Display(Name = "创建时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? CreateData { get; set; }  

        /// <summary>
        /// 创建人
        /// </summary>
        [Display(Name = "创建人")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string Founder {  get; set; }   



    }
}
